<template>
  <div class="app-container">
    <router-view/>
  </div>
</template>
<script setup lang="ts">
import {useUserStore} from "@/stores/user";

const userStore = useUserStore()

var t = localStorage.getItem('token')
if (t) {
  userStore.setToken(t)
}
</script>

<style>
:root {
  --el-menu-border-color: #304156;
}

.nav-back-btn {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 10px;
}
</style>

<style lang="scss" scoped>
.app-container {
  width: 100vw;
  height: 100vh;
  display: flex;
}
</style>
<style lang="scss">

</style>